package com.changgou.good.dao;

import com.changgou.goods.pojo.Sku;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface SkuMapper extends Mapper<Sku> {

    @Select("SELECT * FROM tb_sku WHERE NAME LIKE #{name}")
    List<Sku> searchByName(String name);
}
